go/types.comparer.identical (method)
15 uses
go/types (current package)
api_predicates.go#L90: return c.identical(x, y, nil)
api_predicates.go#L98: return c.identical(x, y, nil)
predicates.go#L252: func (c *comparer) identical(x, y Type, p *ifacePair) bool {
predicates.go#L279: return (x.len < 0 || y.len < 0 || x.len == y.len) && c.identical(x.elem, y.elem, p)
predicates.go#L285: return c.identical(x.elem, y.elem, p)
predicates.go#L300: !c.identical(f.typ, g.typ, p) {
predicates.go#L311: return c.identical(x.base, y.base, p)
predicates.go#L322: if !c.identical(v.typ, w.typ, p) {
predicates.go#L370: if !c.identical(xtparam.bound, ybound, p) {
predicates.go#L380: c.identical(x.params, yparams, p) &&
predicates.go#L381: c.identical(x.results, yresults, p)
predicates.go#L448: if f.Id() != g.Id() || !c.identical(f.typ, g.typ, q) {
predicates.go#L459: return c.identical(x.key, y.key, p) && c.identical(x.elem, y.elem, p)
predicates.go#L466: return x.dir == y.dir && c.identical(x.elem, y.elem, p)